package org.jash.day3

/**
 * Created by Jash
 */
fun main() {
//    val set = mutableSetOf(1, 2, 3)
//    set += 23
//    for (i in set) {
//        println(i)
//    }
    val map =  mutableMapOf("1" to "一", "2" to "二")
    println(map["1"])
    map["3"] = "三"
    map["4"] = "四"
    val list = (0..100 step 2).toMutableList()
    println(list)
    list.sortDescending()
    println(list)
    println(list.isEmpty())
    println(list.joinToString(".") { "$it" })

}